.profileContainer {
  padding: 24px;
  background: #f0f2f5;
  min-height: 100vh;

  :global {
    .ant-card {
      border-radius: 8px;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    }

    .ant-tabs-nav {
      margin-bottom: 24px;
    }

    .ant-statistic {
      .ant-statistic-title {
        color: #666;
        font-size: 14px;
      }
      .ant-statistic-content {
        color: #333;
        font-size: 24px;
      }
    }
  }
}

.profileCard {
  margin-bottom: 24px;
  background: #fff;
  
  :global(.ant-card-body) {
    padding: 24px;
  }
}

.avatar {
  display: block;
  margin: 0 auto;
  border: 4px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.info {
  padding: 0 16px;

  @media screen and (max-width: 576px) {
    padding: 16px 0 0;
    text-align: center;
  }
}

.name {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 600;
  color: #333;
}

.bio {
  margin: 0 0 16px;
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

.tags {
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;

  :global {
    .ant-tag {
      margin: 0;
      padding: 4px 12px;
      font-size: 14px;
      border-radius: 16px;
      background: #f5f5f5;
      border: none;
      color: #666;

      &:hover {
        background: #e6f7ff;
        color: #1890ff;
      }
    }
  }

  @media screen and (max-width: 576px) {
    justify-content: center;
  }
}

.statistics {
  margin-top: 24px;

  :global {
    .ant-statistic-title {
      font-size: 14px;
    }
    .ant-statistic-content {
      font-size: 24px;
      font-weight: 600;
    }
  }

  @media screen and (max-width: 576px) {
    text-align: center;
  }
}

.worksCard {
  background: #fff;

  :global(.ant-card-body) {
    padding: 24px;
  }
}

.recentWorks {
  .recentWorkImage {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px 4px 0 0;
  }

  :global {
    .ant-card {
      border-radius: 4px;
      overflow: hidden;
      transition: all 0.3s ease;

      &:hover {
        transform: translateY(-4px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      }
    }

    .ant-card-meta-title {
      font-size: 16px;
      margin-bottom: 4px;
      color: #333;
    }

    .ant-card-meta-description {
      color: #999;
      font-size: 14px;
    }
  }
}

// 暗色主题适配
@media (prefers-color-scheme: dark) {
  .profileContainer {
    background: #141414;
  }

  .profileCard,
  .worksCard {
    background: #1f1f1f;
  }

  .name {
    color: #fff;
  }

  .bio {
    color: #999;
  }

  .tags {
    :global {
      .ant-tag {
        background: #2f2f2f;
        color: #999;

        &:hover {
          background: #177ddc;
          color: #fff;
        }
      }
    }
  }

  .statistics {
    :global {
      .ant-statistic-title {
        color: #999;
      }
      .ant-statistic-content {
        color: #fff;
      }
    }
  }

  .recentWorks {
    :global {
      .ant-card {
        background: #262626;
      }

      .ant-card-meta-title {
        color: #fff;
      }

      .ant-card-meta-description {
        color: #666;
      }
    }
  }
}

// 加载状态样式
.loadingContainer {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

// 响应式调整
@media screen and (max-width: 768px) {
  .profileContainer {
    padding: 16px;
  }

  .name {
    font-size: 24px;
  }

  .bio {
    font-size: 14px;
  }

  .statistics {
    :global {
      .ant-statistic-content {
        font-size: 20px;
      }
    }
  }
}